import getLink from '@/api/getLink.js';

export const infomation = {
  state: {
    infoArr: [],
  },
  mutations: {
    infoArr(state, payload) {
      state.infoArr = payload;
    },
  },
  actions: {
    infoArr({ commit }) {
      getLink('/api/infomation').then(ok => commit('infoArr', ok.data));
    },
  },
};
